package com.xxx.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonValue;

public enum OrderEnum {
    ONE(0,"1-20单/天"),
    TOW(1,"21-50单/天"),
    THREE(2,"51-200单/天"),
    FOUR(3,"201-500单/天"),
    FIVE(4,"超过500单/天");

    @EnumValue
    private Integer i;

    @JsonValue
    private  String s;

    OrderEnum(Integer i, String s) {
        this.i = i;
        this.s = s;
    }

    public Integer getI() {
        return i;
    }

    public String getS() {
        return s;
    }
}
